#ifndef ADDON_PANEL_H
#define ADDON_PANEL_H
#include <qmap.h>
#include "WidgetFrameLess.h"
#include "ui_addonPanel.h"

class AddonPanel : public WidgetFrameLess
{
	Q_OBJECT
public:
	AddonPanel(QWidget* parent = nullptr);
	~AddonPanel();
public slots:
	void onSearch();
	//void onClickAddonList();
	void onClickAddonItem(QTreeWidgetItem* item,int col);
private:
	QWidget* appWidget = nullptr;
	//Ui::AddonPanel ui;
	//QMap<QString,QTreeWidgetItem*> addonTypeList;
	QMap<QString,QWidget*> widgetList;
};

#endif
